<?php
/**
 * Created by PhpStorm.
 * User: YC
 * Date: 2017/4/30
 * Time: 13:51
 */

namespace app\admin\validate;

use think\Validate;

class Productinfo extends Validate
{
    protected $rule = [
        'title|规格名称' => 'require|max:30',
        'price|价格'   =>  'require|float',
        'day|服务天数'   =>  'require|number|between:1,99999',
    ];

}